Remove Method (INList<T>)
Removes the first occurrence of the specified item in the list, by starting the search from the specified index.
'Declaration
Function Remove( _
ByVal As , _
ByVal As System.Integer _
) As System.Integer
'Usage
Dim instance As INList(Of T)
Dim item As
Dim startFrom As System.Integer
Dim value As System.Integer
value = instance.Remove(item, startFrom)
System.int Remove(
,
System.int
)
Parameters
- item
- startFrom
Return Value
The index at which the item was found and removed, or -1 if the item was not found.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)